package com.gs.orderservice.feign;

import com.gs.orderservice.hystrix.UserHystrix;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @ProjectName: springcloudapollo20190719
 * @Package: com.gs.orderservice.feign
 * @Description: java类作用描述
 * @Author: guoshuai
 * @CreateDate: 2019/7/24 14:37
 * @UpdateUser: guoshuai
 * @UpdateDate: 2019/7/24 14:37
 * @UpdateRemark: The modified content
 * @Version: 1.0
 **/
@FeignClient(name = "user-service",fallback = UserHystrix.class)
public interface UserServiceFeign {
    @RequestMapping("/apollo")
    String getUserInfo();
}
